package interview.springboot;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.support.ClassPathXmlApplicationContext;


@ServletComponentScan
@SpringBootApplication
public class AppStartup {

    public static void main(String[] args) {
        //SpringApplication.run(AppStartup.class, args);

        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext();
        context.refresh();
        System.out.println(context);
    }
}
